<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- 导航栏 -->
    <div class="nve">
        <div class="nav">
            <div class="box1"> <img src="./OIP-C (13).jfif" alt="">
                <div>Microsoft Bing</div>
            </div>

            <div class="n">
                <span>图片</span>
                <span>视频</span>
                <span>翻译</span>
            </div>
        </div>
        <div class="box2">
            <div>登录</div>
            <img src="./OIP-C (13).jfif" alt="">

        </div>
    </div>
    <!-- 搜索栏 -->
    <div class="box">
        <div>
            <button>国内版</button>
            <button>国际版</button>
        </div>
        <input type="text" placeholder="请输入搜索的内容">
    </div>
</body>

</html>
<style>
    /* 布局是弹性盒 */
    
    .box {
        width: 500px;
        margin: auto;
        margin-top: 100px;
    }
    
    input {
        width: 500px;
        height: 50px;
        border-radius: 25px;
        margin-top: 5px;
    }
    
    button {
        border: 0;
        width: 80px;
        height: 25px;
        border-radius: 10px;
    }
    
    .nve {
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    img {
        width: 50px;
    }
    
    .nav {
        width: 600px;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .n {
        width: 300px;
        display: flex;
        justify-content: space-around;
    }
    
    .box1 {
        width: 170px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .box2 {
        width: 200px;
        display: flex;
        justify-content: safe;
        align-items: center;
    }
    
    body {
        background-image: url('./230040jd6zt0thkhh6kkh8.jpg');
        background-size: 100%;
        color: white;
    }
</style>